package com.atcc.demo.service;

import org.springframework.stereotype.Service;

import com.atcc.demo.domain.UserInfo;

@Service
public interface UserInfoService {
	/**
	 * 添加用户
	 * @param userInfo
	 * @return
	 */
	Integer addUserInfo(UserInfo userInfo);
	
	/**
	 * 获取所有用户信息
	 * @return
	 */
/*	PageDTO<UserInfoDTO> getAllUserInfoDTO(
			String authlevelCode, String departmentCode, 
			String townCode, String villageCode, int isLike, int isExact, 
			String phoneNumber, int currentPage, int pageSize); */
	
	/**
	 * 根据phonenumber来获取用户信息
	 * @param phonenumber
	 * @return
	 */
	UserInfo getUserInfoByPhoneNumber(String phonenumber);
	
	
}
